//
//  ViewController.swift
//  QRscan
//
//  Created by jws on 2017/12/21.
//  Copyright © 2017年 jws. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
    @IBOutlet weak var btn_qr: UIButton!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        btn_qr.backgroundColor = UIColor.blue
    }
    @IBAction func btn_onlick(_ sender: Any) {
        let toController = QRcodeScaner()
        self.present(toController,animated:true,completion:nil)
        // self.parent(toController,animated:true,completion:nil)
        //self.navigationController?.pushViewController(toController, animated: true)
        print("you click this")
    }
}

